package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品类型对象 product_type
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class ProductType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long pdtId;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pdtInsdate;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String pdtName;

    public void setPdtId(Long pdtId) 
    {
        this.pdtId = pdtId;
    }

    public Long getPdtId() 
    {
        return pdtId;
    }

    public void setPdtInsdate(Date pdtInsdate) 
    {
        this.pdtInsdate = pdtInsdate;
    }

    public Date getPdtInsdate() 
    {
        return pdtInsdate;
    }

    public void setPdtName(String pdtName) 
    {
        this.pdtName = pdtName;
    }

    public String getPdtName() 
    {
        return pdtName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pdtId", getPdtId())
            .append("pdtInsdate", getPdtInsdate())
            .append("pdtName", getPdtName())
            .toString();
    }
}
